package com.nongtai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nongtai.pojo.entity.GoodsNewRecommend;
import com.nongtai.pojo.entity.GoodsNewRecommendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsNewRecommendMapper extends BaseMapper<GoodsNewRecommend> {
    long countByExample(GoodsNewRecommendExample example);

    int deleteByExample(GoodsNewRecommendExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GoodsNewRecommend record);

    int insertSelective(GoodsNewRecommend record);

    List<GoodsNewRecommend> selectByExample(GoodsNewRecommendExample example);

    GoodsNewRecommend selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GoodsNewRecommend record, @Param("example") GoodsNewRecommendExample example);

    int updateByExample(@Param("record") GoodsNewRecommend record, @Param("example") GoodsNewRecommendExample example);

    int updateByPrimaryKeySelective(GoodsNewRecommend record);

    int updateByPrimaryKey(GoodsNewRecommend record);
}